<?php
	$user=$this->session->userdata('ProfileInfo');
?>

<?php if($user){?>
<figure>
      <figcaption>
            <?=$user['email'];?>
            <ul>
                <li><a href="<?=PATH_URL.'thong-tin-ca-nhan/'.$user['id'].''?>">Thông tin cá nhân</a></li>
                <li><a href="<?=PATH_URL.'thong-tin-don-hang/'.$user['id'].''?>">Thông tin đơn hàng</a></li>
                <li><a href="<?=PATH_URL.'profile/logout/'?>">Thoát</a></li>
            </ul>
      </figcaption>
</figure> 
<?php }else{?>
<a href="<?=PATH_URL.'profile/'?>">Đăng nhập / Đăng ký</a>
<?php }?>